package com.ld.security.auth.common.base.entity;

import com.ld.security.auth.common.base.constants.JwtFunctionConstant;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.common.mybatis.base.entity.TreeEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class JwtFunction<E extends JwtFunction<E> > extends TreeEntity<E>    {

    @ApiModelProperty("名称")
    @SqlKey(SqlCondition.like)
    private String label;

    @ApiModelProperty("url地址")
    @SqlKey(SqlCondition.like)
    private String url;

    @ApiModelProperty("开启认证")
    @SqlKey
    private Boolean openAuth;

    @ApiModelProperty("函数类型")
    @SqlKey
    private JwtFunctionConstant.funcType funcType;


}
